package com.qfedu.labsystem.entity.dto;

import com.opencsv.bean.CsvBindByPosition;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName CsvUserDTO
 * @Author ykx
 * @Date 2024/4/10 11:16
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CsvUserDTO {
    /**
     * 用户名
     */
    @CsvBindByPosition(position = 0)
    private String username;

    /**
     * 密码
     */
    @CsvBindByPosition(position = 1)
    private String password;

    /**
     * 邮箱
     */
    @CsvBindByPosition(position = 2)
    private String email;

    /**
     * 手机号
     */
    @CsvBindByPosition(position = 3)
    private String tel;

    /**
     * 角色
     */
    @CsvBindByPosition(position = 4)
    private Integer roleId;
}
